package org.example.storage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.storage.model.StorageTbl;

public interface StorageTblService extends IService<StorageTbl> {

    /**
     * 扣减库存
     *
     * @param commodityCode 商品编号
     * @param count         扣减数量
     */
    void deduct(String commodityCode, Integer count);
}
